package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 任务对象 task
 *
 * @author 李演
 * @date 2024-03-18
 */
public class Task extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;
    private Long bidId;
    private Long employeeBid;
    /** 任务名称 */
    @Excel(name = "任务名称")
    private String title;

    /** 类型 */
    private Long categoryId;

    /** 任务简介 */
    @Excel(name = "任务简介")
    private String summary;

    /** 最低预算 */
    @Excel(name = "最低预算")
    private BigDecimal minimumBudget;

    /** 最高预算 */
    @Excel(name = "最高预算")
    private BigDecimal maximumBudget;

    /** 所需技能 */
    @Excel(name = "所需技能")
    private String skill;

    @Excel(name = "分类名称")
    private String name;

    /** 任务描述 */
    @Excel(name = "任务描述")
    private String description;

    /** 状态 */
    private Long status;

    /** 竞标状态 */
    private Long state;

    /** 雇员 */
    private Long employeeId;

    @Excel(name = "雇员")
    private String employeeName;

    /** 所需文档 */
    private String docSrc;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date releaseTime;

    /** 成交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "成交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date transactionTime;

    /** 成交价格 */
    @Excel(name = "成交价格")
    private BigDecimal transactionPrice;

    /** 预期价格 */
    @Excel(name = "预期价格")
    private BigDecimal expectedPrice;

    /** 雇主 */
    private Long employerId;
    @Excel(name = "雇主")
    private String employerName;

    public Long getBidId() {
        return bidId;
    }

    public void setBidId(Long bidId) {
        this.bidId = bidId;
    }

    public String getEmployerName() {
        return employerName;
    }

    public void setEmployerName(String employerName) {
        this.employerName = employerName;
    }


    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public String getName() {
        return name;
    }

    public Long getEmployeeBid() {
        return employeeBid;
    }

    public void setEmployeeBid(Long employeeBid) {
        this.employeeBid = employeeBid;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setCategoryId(Long categoryId)
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId()
    {
        return categoryId;
    }
    public void setSummary(String summary)
    {
        this.summary = summary;
    }

    public String getSummary()
    {
        return summary;
    }
    public void setMinimumBudget(BigDecimal minimumBudget)
    {
        this.minimumBudget = minimumBudget;
    }

    public BigDecimal getMinimumBudget()
    {
        return minimumBudget;
    }
    public void setMaximumBudget(BigDecimal maximumBudget)
    {
        this.maximumBudget = maximumBudget;
    }

    public BigDecimal getMaximumBudget()
    {
        return maximumBudget;
    }
    public void setSkill(String skill)
    {
        this.skill = skill;
    }

    public String getSkill()
    {
        return skill;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setEmployeeId(Long employeeId)
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId()
    {
        return employeeId;
    }
    public void setDocSrc(String docSrc)
    {
        this.docSrc = docSrc;
    }

    public String getDocSrc()
    {
        return docSrc;
    }
    public void setReleaseTime(Date releaseTime)
    {
        this.releaseTime = releaseTime;
    }

    public Date getReleaseTime()
    {
        return releaseTime;
    }
    public void setTransactionTime(Date transactionTime)
    {
        this.transactionTime = transactionTime;
    }

    public Date getTransactionTime()
    {
        return transactionTime;
    }
    public void setTransactionPrice(BigDecimal transactionPrice)
    {
        this.transactionPrice = transactionPrice;
    }

    public BigDecimal getTransactionPrice()
    {
        return transactionPrice;
    }
    public void setExpectedPrice(BigDecimal expectedPrice)
    {
        this.expectedPrice = expectedPrice;
    }

    public BigDecimal getExpectedPrice()
    {
        return expectedPrice;
    }
    public void setEmployerId(Long employerId)
    {
        this.employerId = employerId;
    }

    public Long getEmployerId()
    {
        return employerId;
    }

    public Long getState() {
        return state;
    }

    public void setState(Long state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("title", getTitle())
                .append("categoryId", getCategoryId())
                .append("summary", getSummary())
                .append("minimumBudget", getMinimumBudget())
                .append("maximumBudget", getMaximumBudget())
                .append("skill", getSkill())
                .append("description", getDescription())
                .append("status", getStatus())
                .append("employeeId", getEmployeeId())
                .append("docSrc", getDocSrc())
                .append("releaseTime", getReleaseTime())
                .append("transactionTime", getTransactionTime())
                .append("transactionPrice", getTransactionPrice())
                .append("expectedPrice", getExpectedPrice())
                .append("employerId", getEmployerId())
                .append("name", getName())
                .append("employeeBid", getEmployeeBid())
                .append("employerName", getEmployeeName())
                .append("employeeName", getEmployeeName())
                .append("state",getState())
                .toString();
    }
}
